#-------------------------------------------------
#
# Project created by QtCreator 2016-03-28T10:43:03
#
#-------------------------------------------------

QT       += network xml

QT       -= gui

TARGET = WRSoft-Working-Common
TEMPLATE = lib

DEFINES += WRSOFT_WORKING_COMMON_LIBRARY

SOURCES += \
    WRWorkObject.cpp \
    WRWorkAffair.cpp \
    WRWorkDomain.cpp \
    WRWorkDevice.cpp \
    WRWorkDaemon.cpp \
    WRWorkDriver.cpp \
    WRWorkModule.cpp \
    WRWorkSession.cpp \
    Runtime/WRWorkObjectActivator.cpp \
    Runtime/WRWorkDomainActivator.cpp \
    Runtime/WRWorkDriverActivator.cpp \
    Runtime/WRWorkModuleActivator.cpp \
    WRWorkService.cpp \
    WRWorkDeviceCollection.cpp \
    WRWorkObjectCollection.cpp \
    WRWorkProcess.cpp \
    Runtime/WRWorkConfigProvider.cpp \
    WRWorkDomainChangeEvent.cpp \
    WRWorkDeviceStatusChangeEvent.cpp \
    WRWorkObjectStatusChangeEvent.cpp \
    WRWorkAffairStatusChangeEvent.cpp \
    WRWorkTcpCommService.cpp \
    WRWorkTcpCommDomain.cpp \
    WRWorkSwitchEvent.cpp \
    Servers/WRWorkTcpCommServerSession.cpp \
    Servers/WRWorkTcpCommServerAffair.cpp \
    Servers/WRWorkTcpCommServerObject.cpp \
    WRWorkTcpComm.cpp \
    Servers/WRWorkTcpCommServerObjRef.cpp \
    Clients/WRWorkTcpCommClientContext.cpp \
    Clients/WRWorkTcpCommClientRoutine.cpp \
    Clients/WRWorkTcpCommClientObject.cpp \
    Clients/WRWorkTcpCommClientAffair.cpp \
    Clients/WRWorkTcpCommClientSession.cpp \
    Servers/WRWorkTcpCommServerSocket.cpp \
    Servers/WRWorkTcpCommServer.cpp \
    Servers/WRWorkTcpCommServerInterfaces.cpp \
    Clients/WRWorkTcpCommClientInterfaces.cpp \
    WRWorkEntity.cpp \
    WRWorkInformation.cpp \
    Structs/WRWorkStatus.cpp \
    WRDataSaveProcess.cpp


HEADERS += \
    WRGlobal.h \
    WRWorkObject.h \
    WRWorkAffair.h \
    WRWorkDomain.h \
    WRWorkDevice.h \
    WRWorkDaemon.h \
    WRWorkDriver.h \
    Structs/WRWorkStatus.h \
    Structs/WRWorkSwitch.h \
    WRWorkDeviceUuids.h \
    WRWorkObjectUuids.h \
    WRWorkDeviceType.h \
    WRWorkObjectType.h \
    WRWorkModule.h \
    WRWorkSession.h \
    Runtime/WRWorkObjectActivator.h \
    Runtime/WRWorkModuleActivator.h \
    Runtime/WRWorkDriverActivator.h \
    Runtime/WRWorkDomainActivator.h \
    WRWorkService.h \
    WRWorkDeviceCollection.h \
    WRWorkObjectCollection.h \
    WRWorkServiceType.h \
    WRWorkServiceUuids.h \
    WRWorkUuids.h \
    WRWorkDealer.h \
    WRWorkProcess.h \
    Runtime/WRWorkConfigProvider.h \
    WRWorkDomainChangeEvent.h \
    WRWorkDeviceStatusChangeEvent.h \
    WRWorkObjectStatusChangeEvent.h \
    WRWorkAffairStatusChangeEvent.h \
    WRWorkTcpCommService.h \
    WRWorkTcpCommDomain.h \
    WRWorkSwitchEvent.h \
    Servers/WRWorkTcpCommServerSession.h \
    Servers/WRWorkTcpCommServerInterface.h \
    Servers/WRWorkTcpCommServerDataSource.h \
    Servers/WRWorkTcpCommServerStateSource.h \
    Servers/WRWorkTcpCommServerEventSource.h \
    Servers/WRWorkTcpCommServerTaskDealer.h \
    WRWorkTcpCommConsts.h \
    Servers/WRWorkTcpCommServerAffair.h \
    Servers/WRWorkTcpCommServerObject.h \
    Servers/WRWorkTcpCommServerObjRef.h \
    Servers/WRWorkTcpCommServerInterfaceActivator.h \
    WRWorkTcpComm.h \
    Clients/WRWorkTcpCommClientContext.h \
    Clients/WRWorkTcpCommClientInterface.h \
    Clients/WRWorkTcpCommClientRoutine.h \
    Clients/WRWorkTcpCommClientInterfaceActivator.h \
    Clients/WRWorkTcpCommClientObject.h \
    Clients/WRWorkTcpCommClientAffair.h \
    Clients/WRWorkTcpCommClientSession.h \
    Clients/WRWorkTcpCommClientWorkDealer.h \
    Clients/WRWorkTcpCommClientTaskDealer.h \
    Clients/WRWorkTcpCommClientEventSource.h \
    Clients/WRWorkTcpCommClientStateSource.h \
    Clients/WRWorkTcpCommClientDataSource.h \
    Servers/WRWorkTcpCommServerWorkDealer.h \
    Servers/WRWorkTcpCommServerSocket.h \
    Servers/WRWorkTcpCommServer.h \
    Servers/WRWorkTcpCommServerInterfaces.h \
    Clients/WRWorkTcpCommClientInterfaces.h \
    WRWorkEntity.h \
    WRWorkInformation.h \
    WRWorkUuidValues.h \
    WRWorkNames.h \
    WRWorkNameValues.h \
    WRWorkTcpCommHelper.h \
    WRWorkTcpCommPulsePacket.h \
    Structs/WRDataSaveState.h \
    WRDataSaveProcess.h \
    WRDataSaveUuids.h \
    Structs/WRDataSaveInitArgs.h \
    WRDataSaveUuidValues.h \
    WRDataSaveNameValues.h \
    WRDataSaveNames.h \

unix {
    target.path = /usr/lib
    INSTALLS += target
}

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-Utility/release/ -lWRSoft-Utility
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-Utility/debug/ -lWRSoft-Utility
else:unix: LIBS += -L$$OUT_PWD/../WRSoft-Utility/ -lWRSoft-Utility

INCLUDEPATH += $$PWD/../WRSoft-Utility
DEPENDPATH += $$PWD/../WRSoft-Utility
